echo "开始打包ipa:$1 ----->"
flutter build ipa --dart-define=APP_CHANNEL=$1 --dart-define=APP_ENV=$2 --dart-define=APP_NAME=$3
cd build/ios/archive/
mkdir $1
cp -R *.xcarchive $1
open .